package br.com.BRisa.upnp;

public class SSDP {

	
	public static final int port = 1900;
	public static final String Address = "239.255.255.250";
	public static final int DEFAULT_MSEARCH_MX = 3;
    public static final int RECV_MESSAGE_BUFSIZE = 1024;

   
	public static final int getLease_Time(String CounterCache){
		int Estimado = CounterCache.indexOf("=");
		int mx = 0;
		try{
			String Smx = new String(CounterCache.getBytes(),Estimado+1,CounterCache.length() - (Estimado+1));
			mx = Integer.parseInt(Smx);
		}catch (Exception e){
			}
		return mx;
	}
}
